<?php
	// enable PHP session
	/*class Authenticate extends CI_Controller{
		
	public function index(){	
	session_start();
	
	// if not login yet, redirect to login page
	if ( !isset($_SESSION['user_name']) ) 
		$data['count']=2;
		$data['notification2']="You don't have a credential to see the following page, please login in first.";
		$this->load->view('login',$data);
		redirect('login');
		}
*/
	if(!isset($_SESSION)){
	session_start();
	}
	
	
	
	if ( !isset($_SESSION['userObject']) ) {

		redirect('user/authenticate');
		
	}

?>